/*
 * 
 */

package com.memorytech.starchive.interfaceclass;

import com.memorytech.starchive.entity.HistoryBarcode;

/**
 * The listener interface for receiving onHistoryBarcode events. The class that
 * is interested in processing a onHistoryBarcode event implements this
 * interface, and the object created with that class is registered with a
 * component using the component's
 * <code>addOnHistoryBarcodeListener<code> method. When
 * the onHistoryBarcode event occurs, that object's appropriate
 * method is invoked.
 * 
 * @see OnHistoryBarcodeEvent
 */
public interface OnHistoryBarcodeListener {

    /**
     * On history barcode selected.
     * 
     * @param historyBarcode the history barcode
     */
    public void onHistoryBarcodeSelected(HistoryBarcode historyBarcode);

    /**
     * On detail item selected.
     * 
     * @param historyBarcode the history barcode
     */
    public void onDetailItemSelected(HistoryBarcode historyBarcode);

}
